package org.hentai.controller;

import jakarta.annotation.Resource;
import org.hentai.service.IndexService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/aop")
public class IndexController {

    @Resource
    private IndexService service;

    @GetMapping("/before")
    public String before() {
        return service.beforeAspect("123");
    }

}
